package com.sc.services;

import com.sc.entity.dto.AdapterDto;
import com.sc.entity.dto.DeviceDto;
import com.sc.entity.params.DeviceOnlineBatchParam;
import com.sc.entity.params.DeviceOnlineParam;
import com.sc.entity.params.DeviceRegisterParam;

public interface IotPlatformService {
    DeviceDto registerDevice(String url, DeviceRegisterParam param);
    Boolean sendOnline(String url, String token, DeviceOnlineParam param);
    Boolean sendOnlineBatch(String url, DeviceOnlineBatchParam param);

    Boolean heartBeatAsync(String url, AdapterDto dto);
}
